﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace NCS.DeviceManager.Models.Entities
{
    [Table("tbl_roleaccess")]
    public class RoleAccessEntity : BaseEntity
    {
        /// <summary>
        /// 角色编号
        /// </summary>
        [Required] public int RoleId { get; set; }
        /// <summary>
        /// 操作权限
        /// </summary>
        [Required] public int AccessId { get; set; }
    }
}
